home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Risc World 5
/
Risc World 5.iso
/
SOFTWARE
/
Issue5
/
PD
/
DIRSYNC
/
LegalStuff
/
bascat
/
GMakefile
< prev
Wrap
Makefile
|
2002-12-05
|
874b
|
35 lines
CC = gcc
CCflags = -c -O2 -ansi -mstubs -mthrowback -I^.lib
Link = drlink
Linkflags = -nounused -rescan
# options for linking with UnixLib
# OPTS = -DHAVE_CONFIG_H
# options for linking with SharedCLibrary
OPTS = -DHAVE_CONFIG_H -DUSING_ACORN_SHAREDCLIB\
-DPAGER=0 -DNDEBUG\
"-DPACKAGE=\"bascat\"" "-DVERSION=\"1.2.1\""
# LIBS = ^.lib.o.gststubs gcc:o.libgcc ^.lib.o.libgnu ^.lib.o.mdwopt
LIBS = C:o.stubs gcc:o.libgcc ^.lib.o.libgnu ^.lib.o.mdwopt
DOLINK = $(Link) $(Linkflags) o.$@ $(LIBS)
bascat_Objs = o.bascat
# Main target
All: bascat
bascat: $(bascat_Objs) $(LIBS)
$(Link) $(Linkflags) $(bascat_Objs) $(LIBS) -o bascat
Clean:
ifthere o.* then wipe o.* ~cfr~v
remove bascat
# Dependencies:
o.bascat: c.bascat ^.lib.h.error ^.lib.h.system ^.lib.h.ro_file ^.lib.h.xalloc ^.lib.h.closeout ^.lib.h.version-etc ^.lib.h.ro_wild ^.lib.h.mdwopt